package cn.com.taiji.pos.service.impl;

import cn.com.taiji.pos.entity.ConfigBusinessType;
import cn.com.taiji.pos.mapper.ConfigBusinessTypeMapper;
import cn.com.taiji.pos.service.IConfigBusinessTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 业务类型(参考SCM系统) 服务实现类
 * </p>
 *
 * @author
 * @since 2021-03-01
 */
@Service
public class ConfigBusinessTypeServiceImpl extends ServiceImpl<ConfigBusinessTypeMapper, ConfigBusinessType> implements IConfigBusinessTypeService {

    @Resource
    private ConfigBusinessTypeMapper configBusinessTypeMapper;

    @Override
    public List<ConfigBusinessType> getListForType(String physicalCode) {
        return configBusinessTypeMapper.GetListForType(physicalCode);
    }
}
